package com.example.im.bean

import androidx.room.Entity
import java.io.Serializable

@Entity
class FileInfo : Serializable {

    var name: String? = null
    var length: Int = 0
    var duration: Int = 0
    var netUrl: String? = null
    var localUrl: String? = null

    fun getFilesInfo(): FileInfo = this

    companion object {
        private const val serialVersionUID = 42L
    }
}